-- GENERATED SPELL FOR [Trachela] --


function spell0_21515(pUnit, Event) --@Fevered Disease,n/a--
pUnit:FullCastSpellOnTarget(32903,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21515', 500, 1)
end

function Sorts_21515(pUnit, Event)
local choix_sorts_21515 = math.random(0, 0)
if choix_sorts_21515 == 0 then
pUnit:RegisterEvent('spell0_21515', 1, 1)
end
end

function mob21515_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21515', math.random(1500, 3000), 1)
end

function mob21515_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21515_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21515_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21515, 1, 'mob21515_Action')
RegisterUnitEvent(21515, 2, 'mob21515_Leave')
RegisterUnitEvent(21515, 3, 'mob21515_Kill')
RegisterUnitEvent(21515, 4, 'mob21515_Die')
